package com.aisile.crowd_funding.common.utils;

import com.aisile.crowd_funding.system.pojo.SysUser;
import org.apache.shiro.SecurityUtils;

public class ShiroUtils {


    public static SysUser getSubject(){

        return (SysUser)SecurityUtils.getSubject().getPrincipal();
    }
}
